FROM node:boron

LABEL version=1.0.0
LABEL description="The OnWall Frontend Web server"

# Create app directory
RUN mkdir -p /opt/onwall
WORKDIR /opt/onwall

# Install app dependencies
COPY package.json /opt/onwall
RUN npm install

# Bundle app source
COPY . /opt/onwall

CMD ["npm", "start"]